import 'package:flutter/material.dart';

class LoginBtn extends StatelessWidget{

  @override
  Widget build(BuildContext context) {
//     TODO: implement build
    return new Container(
      child: new Center(
        child: new Container(
          padding: new EdgeInsets.fromLTRB(120, 10, 120, 10),
          child: new Text('登陆按钮',style: new TextStyle(color: Colors.black) ),
          decoration: new BoxDecoration(
//            color: Colors.orange,
            gradient: new LinearGradient(
//              begin: const Alignment(0, -1),
//              end: const Alignment(0, 0.6),
              colors: <Color>[
                Colors.yellowAccent,
                Colors.orange
              ]
            ),
        /*    boxShadow:<BoxShadow>[
              new BoxShadow(
                color: Colors.grey,
                offset: new Offset(2, 5)
              )
            ],*/
            borderRadius: new BorderRadius.all(
              const Radius.circular(50)
            )
          ),
        )
      ),
//      color: Colors.yellow,
    );
//    return new Container(
//      child: new Center(
//          child: new Container(
//            padding: new EdgeInsets.fromLTRB(120, 10, 120, 10),
//            child: new Text('登陆按钮',style: new TextStyle(color: Colors.black) ),
//            decoration: new BoxDecoration(
//              borderRadius: new BorderRadius.all(
//                const Radius.circular(50)
//              ),
//              border: Border.all(width: 2,color: Colors.yellow)
//            ),
//          )
//      ),
////      color: Colors.yellow,
//    );
  }
}